home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 8 / Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO / 034a / score.arj / SCORE.BAT
DOS Batch File  |  1992-12-17  |  549b  |  36 lines

  1. Echo off
  2. If %2==500 goto 1
  3. If %2==1000 goto 2
  4. If %2==2500 goto 3
  5. If %2==5000 goto 4
  6. If %2==10000 goto 5
  7. If %2==15000 goto 6
  8. If %2==20000 goto 7
  9. Echo Correct choices are: 500, 1000, 2500, 5000, 10000, 15000, and 20000.
  10. Echo Usage syntax: SCORE pilotnamte.ext 15000
  11. Echo off
  12. Goto end
  13. :1
  14. Debug %1 <500.TXT
  15. Goto end
  16. :2
  17. Debug %1 <1000.TXT
  18. Goto end
  19. :3
  20. Debug %1 <2500.TXT
  21. Goto end
  22. :4
  23. Debug %1 <5000.TXT
  24. Goto end
  25. :5
  26. Debug %1 <10000.TXT
  27. Goto end
  28. :6
  29. Debug %1 <15000.TXT
  30. Goto end
  31. :7
  32. Debug %1 <20000.TXT
  33. Goto end
  34. :End
  35. Echo on
  36.